\usemodule[visual]

\setuppapersize[B5]
\setuplayout[width=fit,height=fit,backspace=10mm,cutspace=10mm,topspace=10mm,margin=10mm,header=10mm,footer=10mm]
\setuppagenumbering[location={header,right},style=\bfb]

\starttext

% % % ================== 各级标题样式的修改 ==================
% % % ================== 代码示例 - 3：编号的显示层级

\setuphead[chapter][page=no]
% \setuphead[subsection][page=no,conversion=i,sectionsegments=section:subsection]
\setuphead[subsection][page=no,conversion=i,sectionsegments=3:4]
\chapter[chapter1]{Story A}
\section{Part 1}
\subsection{subPart 1}
\fakewords{30}{40}
\subsection{subPart 2}
\fakewords{10}{30}
\chapter[chapter2]{Story B}
\section{Part 2}
\subsection{subPart 1}
\fakewords{30}{40}
\subsection{subPart 2}
\fakewords{10}{30}


\stoptext